#ifndef DATE_H
#define DATE_H
class Date{
	int day,month,year;
	int checkDay(int)const;
	public:
		Date(int =1,int =1,int =1950);
		void print()const;
		int getD()const;
		int getM()const;
		int getY()const;
		~Date(); 
};
#endif



#ifndef ANGAJAT_H
#define ANGAJAT_H
class Angajat{
		char firstname[25];
		char lastname[25];
		const Date hiredate;
		const Date birthdate;		
	public:
		Angajat(const char* const,const char* const,const Date&,const Date&);
		void print()const;
		~Angajat();
};
#endif


